package com.pmcc.core.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by spurs on 2018/3/23.
 */
@Entity
@Table(name = "SYS_CITY")
@ApiModel(value = "国家省市区", description = "city")
public class City extends UUIDEntity {
    @ApiModelProperty(value = "NAME", required = true)
    @Column(name = "NAME")
    private String name;

    @ApiModelProperty(value = "简拼", required = true)
    @Column(name = "FIRST_SPELL")
    private String firstSpell;

    @ApiModelProperty(value = "全拼", required = true)
    @Column(name = "FULL_SPELL")
    private String fullSpell;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFirstSpell() {
        return firstSpell;
    }

    public void setFirstSpell(String firstSpell) {
        this.firstSpell = firstSpell;
    }

    public String getFullSpell() {
        return fullSpell;
    }

    public void setFullSpell(String fullSpell) {
        this.fullSpell = fullSpell;
    }
}
